package com.example.oauth.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author void
 * @date 2020/8/11 13:08
 * @desc
 */
@Data
@Component
@ConfigurationProperties(prefix = "github")
public class Oauth2Properties {

    private String clientId;
    private String clientSecret;
    private String authorizeUrl;
    private String redirectUrl;
    private String accessTokenUrl;
    private String userInfoUrl;
}
